package com.codeduck.common.dubbo;

import com.codeduck.common.response.AccountResponse;
import com.codeduck.common.response.ServiceResponse;

import java.math.BigDecimal;

/**
 * @author: <a href="mailto:codeduck@163.com">Codeduck</a>
 * @createDate: 2022-08-19
 */
public interface IAccountDubboService {
    /**
     * 从账户扣钱
     * @return
     */
    ServiceResponse<AccountResponse> decreaseAccount(String userId, BigDecimal money);
}
